scaleEffect

Scales the view horizontally and vertically. You can specify a common value or separate values, and optionally provide an anchor point.

Type

1scaleEffect?: number | {
2  x: number
3  y: number
4  anchor?: KeywordPoint | Point
5}

Example

1<Text scaleEffect={1.5}>Scaled</Text>

Custom scale:

1<Text
2  scaleEffect={{
3    x: 1.2,
4    y: 0.8,
5    anchor: "center"
6  }}
7>
8  Non-uniform Scale
9</Text>